import http from '/@/utils/request'
const base = "image/resource/";

export function getImageResourceList(data) {
	return http.request({
		method: 'get',
		url: base + 'list',
		data
	})
}


export function saveImage(data) {
	return http.request({
		method: 'post',
		url: base + 'save',
		data,
		headers: {
			'Content-Type': 'multipart/form-data'
		}
	})
}


export function deleteImageResource(data) {
	return http.request({
		method: 'delete',
		url: base + 'deleteAll',
		data,

	})
}